package com.gadgets.framework.common.constant;

/**
 * @author UncleXiu
 * @version V1.0.0
 * @data 2020-09-12
 * 
 */
public enum ThreadEnum {
    /**
     * 初始化状态
     */
    INIT(GadgetsConstant.NUMBER_CONSTANT.NUMBER_0),
    /**
     * 运行中状态
     */
    RUNNING(GadgetsConstant.NUMBER_CONSTANT.NUMBER_1),
    /**
     * 暂停状态
     */
    SUSPED(GadgetsConstant.NUMBER_CONSTANT.NUMBER_2),
    /**
     * 销毁状态
     */
    DESTORY(GadgetsConstant.NUMBER_CONSTANT.NUMBER_3)
    ;
    /**
     * 状态位
     */
    private int status;

    ThreadEnum(int status) {
        this.status = status;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
